From: Gabriel Wicke Date: Wed, 2 Jun 2004 02:42:13 +0000 (+0000) Subject: performance fix X-Git-Tag: 1.5.0alpha1~3080 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=e30390b38f1db4cb20b7fe9d1e23781e7b7f9537;p=lhc%2Fweb%2Fwiklou.git performance fix --- diff --git a/includes/Parser.php b/includes/Parser.php index b59bb61707..41159cf492 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1024,8 +1024,9 @@ class Parser $lastPrefixLength = strlen( $lastPrefix ); $preOpenMatch = preg_match("/
/", $oLine );
+			if($nowikiOpenMatch) $nowikiFullMatch = preg_match("/^(.*)mInPre) {
 				$this->mInPre = !empty($preOpenMatch);
 			}